<template>
    <view class="">
        <jk-table
            :height="290"
            :table-header="tableHeader"
            :table-data="chartData"
        ></jk-table>
    </view>
</template>

<script>
import jkTable from "../../../jk-components/jk-table";

export default {
    props: {
        chartData: {
            type: Array,
            default() {
                return [];
            }
        }
    },
    components: {
        jkTable
    },
    data() {
        return {
            tableHeader: [
                { key: 'code', title: '订单号', align: 'left' },
                { key: 'priorityName', title: '优先级', width: '80px', align: 'left' },
                { key: 'progress', title: '进度', width: '110px', align: 'center' },
                { key: 'productName', title: '品种', width: '120px', align: 'left' },
                { key: 'batchCode', title: '批号', width: '120px', align: 'left' },
                { key: 'orderQty', title: '订单数量', width: '100px', align: 'right' },
                { key: 'completionQty', title: '完成数量', width: '100px', align: 'right' },
            ],
        };
    },
    methods: {

    },
    watch: {
        chartData: {
            handler() {
            },
            deep: true
        }
    }
};
</script>

<style scoped>
</style>
